<template>
  <div>
    <div class="recommend-title">这周末去哪儿</div>
    <ul>
      <li class="item border-bottom">
        <div class="item-img-wrapper">
          <img class="item-img" src="@/assets/styles/img/1234.png" />
        </div>

        <div class="item-info">
          <p class="item-title">长隆水上乐园</p>
          <p class="item-desc">浪漫长隆，浪漫的水上世界</p>
        </div>
      </li>
      <li class="item border-bottom">
        <div class="item-img-wrapper">
          <img class="item-img" src="@/assets/styles/img/1234.png" />
        </div>
        <div class="item-info">
          <p class="item-title">长隆水上乐园</p>
          <p class="item-desc">浪漫长隆，浪漫的水上世界</p>
        </div>
      </li>
      <li class="item border-bottom">
        <div class="item-img-wrapper">
          <img class="item-img" src="@/assets/styles/img/1234.png" />
        </div>
        <div class="item-info">
          <p class="item-title">长隆水上乐园</p>
          <p class="item-desc">浪漫长隆，浪漫的水上世界</p>
        </div>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  name: "HomeWeekend",
};
</script>

<style lang="stylus" scoped>
.recommend-title {
  background: #eee;
  line-height: 1.8rem;
  text-indent: 0.2rem;
  margin-top: 0.2rem;
}

item-img-wrapper {
  overflow: hidden;
  height: 0;
  padding-bottom: 35.2%;
}

.item-img {
  width: 100%;
}

.item-info {
  flex: 1;
  padding: 0.5rem;
  min-width: 0;
}

.item-title {
  line-height: 0.54rem;
  font-size: 0.5rem;
}

.item-desc {
  line-height: 0.9rem;
  margin-top: 0.2rem;
  color: #ccc;
}
</style>